//
//  BaseEntity.h
//  ShenWeiRent
//
//  Created by 李叶夫 on 2019/3/12.
//  Copyright © 2019年 liyefu. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface BaseEntity : NSObject

@property (nonatomic, strong) NSNumber *code;
@property (nonatomic, copy) NSString *message;
@property (nonatomic, strong) id data;

+ (instancetype)entity:(Class)class fromDictionary:(NSDictionary *)dictionary;

@end

NS_ASSUME_NONNULL_END
